import { axios } from '@/utils/request'

export function get (deptId) {
  return axios({
    url: '/admin/timetable/z-approval/setting/page',
    method: 'post',
    data: {
      deptId: deptId
    }
  })
}

export function edit (id) {
  return (data) => axios({
    url: '/admin/timetable/z-approval/setting/edit/' + id,
    method: 'post',
    data
  })
}
export function del (id) {
  return axios({
    url: '/admin/timetable/z-approval/setting/remove/' + id,
    method: 'post'
  })
}
